﻿<%@ Control language="C#" Inherits="News.AddNews" CodeFile="AddNews.ascx.cs" AutoEventWireup="true"%>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="../../controls/message.ascx" TagName="message" TagPrefix="uc1" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>

<center>
    <div id="none_border">
<asp:Panel ID="pnlEditNews" runat="server" Width="100%">
    <table border="0" width="100%">
        <tr>
            <td class="table" width="10%">
            </td>
            <td width="15%"><asp:Label ID="Label1" runat="server" Text="Chủ đề :"   CssClass="titletext3"></asp:Label><asp:Label
                    ID="Label5" runat="server"   ForeColor="Red" Text="*"></asp:Label></td>
            <td><asp:TextBox ID="tbxSubject" runat="server" Width="100%" MaxLength="255"></asp:TextBox>
                <asp:Label ID="lblNewId" runat="server" CssClass="titletext3" Visible="False"></asp:Label></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label7" runat="server"   Text="Tóm tắt :" CssClass="titletext3"></asp:Label><asp:Label
                    ID="Label8" runat="server"   ForeColor="Red" Text="*"></asp:Label></td>
            <td>
                <asp:TextBox ID="tbxSummary" runat="server" MaxLength="500" TextMode="MultiLine" Width="100%" Rows="2"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td valign="top">
                <asp:Label ID="Label2" runat="server" Text="Nội dung :"   CssClass="titletext3"></asp:Label><asp:Label
                    ID="Label6" runat="server"   ForeColor="Red" Text="*"></asp:Label></td>
            <td>
                &nbsp;<fckeditorv2:fckeditor id="tbxContents" runat="server" basepath="~/fck/" Height="400px"></fckeditorv2:fckeditor></td>
        </tr>
        <tr>
            <td style="height: 24px">
            </td>
            <td valign="top" style="height: 24px"><asp:Label ID="Label3" runat="server" Text="Chuyên mục :"   CssClass="titletext3"></asp:Label></td>
            <td style="height: 24px">
                <asp:DropDownList ID="ddlNewsType" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td><asp:Label ID="Label4" runat="server" Text="Nguồn :"   CssClass="titletext3"></asp:Label></td>
            <td><asp:TextBox ID="tbxSource" runat="server" Width="300px" MaxLength="255"></asp:TextBox></td>
        </tr>
    </table>
</asp:Panel>
<asp:Panel ID="pnlManager" runat="server" Width="100%">
        <table width="100%" border="0">
            <tr>
                <td class="table" width="10%">
                </td>
                <td class="table" width="15%"><asp:Label ID="Label10" runat="server" Text="Tài khoản :"   CssClass="titletext3"></asp:Label></td>
                <td colspan="3" class="table"><asp:TextBox ID="tbxAccountM" runat="server" BackColor="#FFFFC0" ReadOnly="True"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                </td>
                <td><asp:Label ID="Label11" runat="server" Text="Trạng thái :"   CssClass="titletext3"></asp:Label></td>
                <td colspan="3">
                    <asp:DropDownList ID="ddlStatus" runat="server">
                    </asp:DropDownList>
                    &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                    <asp:Label ID="Label9" runat="server" Text="Ngày đăng :"   CssClass="titletext3"></asp:Label><asp:TextBox ID="tbxOpenDateM" runat="server" Width="100px"></asp:TextBox><asp:HyperLink ID="hlkOpenDateM" runat="server" ImageUrl="~/images/CalendarAJ.png">HyperLink</asp:HyperLink>
                    &nbsp;
                    <asp:Label ID="Label12" runat="server" Text="    Ngày đóng :"   CssClass="titletext3"></asp:Label><asp:TextBox ID="tbxCloseDateM" runat="server" Width="100px"></asp:TextBox><asp:HyperLink ID="hlkCloseDateM" runat="server" ImageUrl="~/images/CalendarAJ.png">HyperLink</asp:HyperLink></td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlButton" runat="server" Width="100%"><TABLE width="100%"><TBODY><TR><TD width="10%"></TD><TD width="15%"></TD><TD><asp:Button id="btnSave" onclick="btnSave_Click" Width="80px" runat="server" Text="Lưu tin" CssClass="btn" ValidationGroup="a"></asp:Button>
        &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;<asp:Button ID="btnDelete" runat="server"
            CssClass="btn" OnClick="btnDelete_Click" OnClientClick="return confirm('Xóa dữ liệu này ?')"
            Text="Xóa" Width="85px" />
        &nbsp;
        &nbsp; &nbsp;&nbsp;<asp:Button id="btnNew" onclick="btnNew_Click" Width="80px" runat="server" Text="Thêm mới" CssClass="btn"></asp:Button>
        &nbsp; &nbsp;
        <asp:Button id="btnReset" onclick="btnReset_Click" Width="80px" runat="server" Text="Làm lại" CssClass="btn"></asp:Button>
        &nbsp; &nbsp;&nbsp;<asp:Button id="btnSearch" Width="80px" runat="server" Text="Tìm kiếm" CssClass="btn" OnClick="btnSearch_Click"></asp:Button>
        &nbsp;
        <asp:Button ID="btnBack" runat="server" CssClass="btn" OnClick="btnBack_Click" Text="Quay lại" /></TD></TR></TBODY></TABLE>
        &nbsp;
    </asp:Panel>
<asp:Label id="lblNotice" runat="server" CssClass="titletext3" Visible="False"></asp:Label> <asp:Label id="lblDebugMessage" runat="server" CssClass="titletext3" Visible="False"></asp:Label>
        <uc1:message ID="linkMessage" runat="server" />
</div>
</center>
